#include "stdafx.h"
#include "IpModel.h"

IpModel::IpModel(void)
{
}

IpModel::IpModel(String^ _ip)
{
	ip = _ip;
}

IpModel::IpModel(String^ _ip, int _port)
{
	ip = _ip;
	port = _port;
}

IpModel::IpModel(String^ _ip, String^ _pass, int _port)
{
	ip = _ip;
	port = _port;
	pass = _pass;
}

IpModel::~IpModel(void)
{
}

void IpModel::setIp(String^ _ip)
{
	ip = _ip;
}

void IpModel::setPass(String^ _pass)
{
	pass = _pass;
}

void IpModel::setPort(int _port)
{
	port = _port;
}

String^ IpModel::getIpAddress()
{
	return ip;
}

String^ IpModel::getPassword()
{
	return pass;
}

int IpModel::getPort()
{
	return port;
}